package com.tiancheng.trade.settlement.mapper.merchant;

import com.tiancheng.trade.settlement.mapper.TYBaseMapper;
import com.tiancheng.trade.settlement.model.merchant.MerchantSettleRule;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

/**
 * @author kellen
 * @date 2021/3/26
 */
@Repository
public interface MerchantSettleRuleMapper extends TYBaseMapper<MerchantSettleRule> {
    List<MerchantSettleRule> findByMerchantCods(@Param("codes") Collection<String> codes);
}
